package com.android.publicModule.webview.info;

public class UrlInfo {

	private String url;
	private String getData;
	private String headers;
	private int cacheType;//0表示不使用缓存，1表示优先使用缓存，2表示只有在无网络时使用缓存
	private String savePath;
	private long lastUpdateMinute;//上次更新的时间戳的分钟数
	private long updateIntervalMinute;//两次更新的间隔分钟数
	
	public UrlInfo() {
		
	}

	public UrlInfo(String url, String getData, String headers,
			int cacheType, String savePath, long lastUpdateMinute,
			long updateIntervalMinute) {
		this.url = url;
		this.getData = getData;
		this.headers = headers;
		this.cacheType = cacheType;
		this.savePath = savePath;
		this.lastUpdateMinute = lastUpdateMinute;
		this.updateIntervalMinute = updateIntervalMinute;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getSavePath() {
		return savePath;
	}

	public void setSavePath(String savePath) {
		this.savePath = savePath;
	}

	public int getCacheType() {
		return cacheType;
	}

	public void setCacheType(int cacheType) {
		this.cacheType = cacheType;
	}

	public long getLastUpdateMinute() {
		return lastUpdateMinute;
	}

	public void setLastUpdateMinute(long lastUpdateMinute) {
		this.lastUpdateMinute = lastUpdateMinute;
	}

	public long getUpdateIntervalMinute() {
		return updateIntervalMinute;
	}

	public void setUpdateIntervalMinute(long updateIntervalMinute) {
		this.updateIntervalMinute = updateIntervalMinute;
	}

	public String getGetData() {
		return getData;
	}

	public void setGetData(String getData) {
		this.getData = getData;
	}

	public String getHeaders() {
		return headers;
	}

	public void setHeaders(String headers) {
		this.headers = headers;
	}

}
